package p.ithorns.tools.excel.model;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


/**
 * ImportRecord
 *
 * @author HtL
 * @date 2024/7/23 14:33
 * @since 1.0.0
 */
@Data
//@ApiModel("导入记录参数对象")
public class ImportRecordBody {

    @NotEmpty
    // @ApiModelProperty("导入时间, 格式:yyyy-MM-dd HH:mm:ss")
    private String importTime;

    @NotEmpty
    // @ApiModelProperty("导入模块")
    private String module;

    // @ApiModelProperty("成功数")
    private Integer successCount;

    // @ApiModelProperty("失败数")
    private Integer failCount;

    @NotNull
    // @ApiModelProperty("源文件")
    private MultipartFile sourceFile;

    // @ApiModelProperty("错误文件")
    private MultipartFile errorFile;

}